From 3762d428e632d591ab59f69d7dd9ddd039298074 Mon Sep 17 00:00:00 2001 From: robertl Date: Thu, 23 Mar 2006 17:22:25 +0000 Subject: [PATCH] Explictly init tm struct. --- gpsbabel/holux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gpsbabel/holux.c b/gpsbabel/holux.c index a020a8bbe..f3f44876a 100644 --- a/gpsbabel/holux.c +++ b/gpsbabel/holux.c @@ -90,6 +90,7 @@ static void data_read(void) struct tm tm; struct tm *ptm; + memset(&tm, 0, sizeof(tm)); HxWpt = xcalloc(GM100_WPO_FILE_SIZE, 1); -- 2.30.2